package com.hnkywl.sts.listener;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-5-9
 * Time: 上午11:32
 * To change this template use File | Settings | File Templates.
 */
public class UserInfo {
    public UserInfo(Long userId,String userName,String remoteIP,String macAddress,String userDeptName) {
        this.userId = userId;
        this.userName = userName;
        this.remoteIP = remoteIP;
        this.macAddress=macAddress;
        this.userDeptName = userDeptName;
        this.date = new Date();
    }

    private Long userId;

    private String userName;

    private String userDeptName;

    private String remoteIP;

    private String macAddress;

    private Date date;

    public String getUserDeptName() {
        return userDeptName;
    }

    public void setUserDeptName(String userDeptName) {
        this.userDeptName = userDeptName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRemoteIP() {
        return remoteIP;
    }

    public void setRemoteIP(String remoteIP) {
        this.remoteIP = remoteIP;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
